package com.ssy.lingxi.member.merchant.model.vo.maintenance.request;

import com.ssy.lingxi.member.merchant.api.handler.annotation.EnableDisableStatusAnno;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Positive;
import java.io.Serializable;

/**
 * 更新会员角色状态接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-06-30
 */
public class MemberRoleUpdateStatusVO implements Serializable {
    private static final long serialVersionUID = -3144424855048787983L;

    /**
     * 角色Id
     */
    @NotNull(message = "角色Id要大于0")
    @Positive(message = "角色Id要大于0")
    private Long id;

    @NotNull(message = "状态取值： 0-禁用 1-启用")
    @EnableDisableStatusAnno
    private Integer status;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
